Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppetlabs apache dependency #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

naevtamarkus
Copy link

Dear Thias,

I have been strugling to send you a set of pull requests, one for each important feature that I contributed, and it was impossible. Therefore, I am afraid I have to send all together into one single super-pull-request... sorry about that.

There are a few changes that are trivial, specially the first 5 commits (oldest).
The next 5 commits correspond to the feature "remote checks", that is quite interesting to have other modules define their own checks, while leaving the nagios module alone. I would like to migrate all existing checks to this "new schema" some day soon.
And the last commits are for another feature: puppetlabs-apache dependency. I put all your thias/apache dependencies into one big IF, and added a second big IF with the puppetlabs one. Hope you like it.

Have a good weekend!

@naevtamarkus
Copy link
Author

BTW, I have updated the documentation and version number in my master branch... did not want to send you yet-another PR.

@thias
Copy link
Owner

thias commented Dec 27, 2013

Why did you change your "allow" parameter from an array to a single string?

@naevtamarkus
Copy link
Author

Ah... that!
It was a pitty to change it, but the puppetlabs-apache module accepts the allow line as a string, not as an array, and I did not want to be special and go against the flow.
Besides, all the code has this type of strings that should be arrays... I would like to improve it all, eventually, but today is not that day :)
I don't want this to be a showstopper for our collaboration, so if you want me to change it back to array, I will.

@thias
Copy link
Owner

thias commented Jan 13, 2014

Could you maybe change it back to an array, to not break the existing parameter values, and simply use the stdlib join() function to create the variable you need for the puppetlabs apache module?

@pcfreak30
Copy link

It also seems there are references to apache_httpd as type rather than a class making the nagios::server code completely broken.

@naevtamarkus
Copy link
Author

This is quite old and Thias has moved forward... I will merge with the newest and submit the PR again, but it will take me some time.

@thias
Copy link
Owner

thias commented Jul 29, 2014

It also seems there are references to apache_httpd as type rather than a class making the nagios::server code completely broken.

You're probably using my apache_httpd module master branch from git, since the latest published forge version is still a definition. Adapting for the newer class is trivial, and will be done once I update my forge module to be a class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants